package com.yunhe.dao;

import java.util.List;

import com.yunhe.javabean.News;
import com.yunhe.javabean.PageControl;

public interface NewsMapper {
    public int insertNews(News nw);
    public int countNews();
    public List<News> divdeNews(PageControl pcl);
    public News selectNewsById(int a);
    public int updateNews(News nw);
    public List<News>selectNewsByCondition(String title);
}
